package com.lovo.service;

import com.github.pagehelper.PageInfo;
import com.lovo.bean.Throne;
import com.lovo.bean.ThroneDistribution;

import java.util.List;

public interface ThroneService {
    PageInfo<Throne> getThrones(int pageNo, int parseInt);

    PageInfo<Throne> getThronesByQuery(int parseInt, int parseInt1, String content);

    boolean addThrone(Throne throne);

    boolean deleteThrone(int parseInt);

    boolean updateThrone(Throne t);

    PageInfo<ThroneDistribution> getAllThrones();

    PageInfo<Integer> getRoleThrone(int parseInt);

    boolean deleteRoleThrone(String roleId);

    Throne getThroneById(int throneId);

    List<Throne> selectByIdStr(String throneIdStr);
}
